package com.server.mapper;

import com.pojo.entity.UserInfo;
import com.pojo.vo.UserInfoBaseVO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper {
    //通过用户id获取用户信息
    public UserInfo selectByUserId(Integer userId);
    //新增用户信息
    public Integer insertUserInfo(UserInfo userInfo);
    //修改用户信息
    public Integer updateUserInfo(UserInfo userInfo);
    public UserInfoBaseVO selectBaseUserInfoByUserId(Integer userId);
}
